
PREFIX	:=cdp5200_tm_
BASE	:=fhrt fchrt

include ../mkfig.cfg

DPATH	:=/mnt/Data/data/ec97/nice
DEPEND	:=tm.makefile


PARA	:=$(PARA) label1=INTERCEPT:\(s\) clip=0.35  xcur=2 \
			f2=-300 d2=18 f2num=-300 label2="MAX MOVEOUT:\(ms\)"

##########################################################
	
%.ps	:	%.ps1 %.ps2 $(DEPEND)
	@psmerge translate=0,0 in=$*.ps1 \
	translate=2.5,-0.2 in=$*.ps2 >$*.ps3
	@sed -n '1,/showpage/p' <$*.ps3 >$@
	@sed -i '$$d' $@
	@cat >>$@ <tm_cdp5200.append
	@sed -n '/showpage/,$$p' $*.ps3 >>$@
	@rm -f $*.ps3

%.ps1	:	$(DPATH)/%.su $(DEPEND)
	supswigb $(PARA) d1num=0.5 d2num=300 hbox=3 wbox=2 <$< >$@

%.ps2	:	$(DPATH)/%.su $(DEPEND)
	suwind key=offset max=500 tmin=0.3 tmax=1.0 <$<  | \
	supswigb $(PARA) d1num=0.1 d2num=150 hbox=3.2 wbox=2.5 >$@


